﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModuleAdd.aspx.cs" Inherits="Saker.Web.Boss.Sys.Modules.ModuleAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../../Styles/global.css?v=1.0" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/jBox/Skins/Green/jbox.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/zTree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet"
        type="text/css" />
    <script src="../../../Scripts/jquery-1.6.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/jquery.utils.js" type="text/javascript"></script>
    <script src="../../../Scripts/admin.js?v=1.0" type="text/javascript"></script>
    <script src="../../../Scripts/admin.ui.js?v=1.0" type="text/javascript"></script>
    <script src="../../../Scripts/jBox/jquery.jBox-2.3.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/zTree/js/jquery.ztree.all-3.0.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        admin.config.indexUrl = '/Boss/Main.aspx';
        var loading_img = "../../../images/loading_16x16.gif";

        // 只调用最顶的jBox
        if (top.jBox != undefined) {
            window.jBox = top.jBox;
        }

        top.orderChanged = false;
        function checkReload() {
            if (top.orderChanged) {
                top.orderChanged = false;
                goUrl(location.href);
            }
        }
        function goUrl(url) {
            top.admin.ui.goUrl(url);
            // 可能在jBox里点击跳转，同时关闭它
            jBox.close();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="block-wp">
        <div class="block">
            <div class="h">
                <span class="icon-sprite icon-list"></span>
                <h3>
                    新增模块</h3>
                <div class="bar">
                    <asp:LinkButton ID="lbtnReturn" CssClass="btn-lit" runat="server" OnClick="lbtnReturn_Click"><span>返回</span></asp:LinkButton>
                </div>
            </div>
            <div class="tl corner">
            </div>
            <div class="tr corner">
            </div>
            <div class="bl corner">
            </div>
            <div class="br corner">
            </div>
            <div class="cnt-wp">
                <div class="cnt form">
                    <table class="data-form" cellspacing="0" cellpadding="0">
                        <tbody>
                            <tr>
                                <th scope="row">
                                    模块名称：
                                </th>
                                <td>
                                    <asp:TextBox ID="txtModuleName" runat="server" CssClass="input-normal"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    模块标签：
                                </th>
                                <td>
                                    <asp:TextBox ID="txtModuleTag" runat="server" CssClass="input-normal"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    模块地址：
                                </th>
                                <td>
                                    <asp:TextBox ID="txtModuleURL" runat="server" CssClass="input-normal"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    模块状态：
                                </th>
                                <td>
                                    <asp:RadioButtonList ID="rblModuleDisabled" runat="server" RepeatColumns="2">
                                        <asp:ListItem Selected="True" Value="1">开启</asp:ListItem>
                                        <asp:ListItem Value="0">关闭</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    模块排序：
                                </th>
                                <td>
                                    <asp:TextBox ID="txtModuleOrder" runat="server" CssClass="input-normal"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    模块说明：
                                </th>
                                <td>
                                    <asp:TextBox ID="txtModuleDescription" runat="server" CssClass="input-normal"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    显示到菜单：
                                </th>
                                <td>
                                    <asp:RadioButtonList ID="rblIsMenu" runat="server" RepeatColumns="2">
                                        <asp:ListItem Selected="True" Value="1">显示</asp:ListItem>
                                        <asp:ListItem Value="0">不显示</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                    权限：
                                </th>
                                <td>
                                    <asp:CheckBoxList ID="cblAuthority" runat="server" RepeatColumns="4">
                                    </asp:CheckBoxList>
                                </td>
                            </tr>
                            <tr>
                                <th scope="row">
                                </th>
                                <td>
                                    <asp:LinkButton CssClass="btn-lit" ID="lbtnSave" runat="server" OnClick="lbtnSave_Click"><span>保存</span></asp:LinkButton>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <!--#wp-->
    </form>
</body>
</html>
